<html>
	<head>
			<meta charset="UTF-8">
			<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui">
			<meta http-equiv="pragma" content="no-cache">
			<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
			<link rel="shortcut icon" href="/assets/img/favicon.ico?ver=1.1.61">
			<link rel="icon" href="/assets/img/favicon.ico?ver=1.1.61">
			<meta http-equiv="expires" content="-1">
			<title>大家都来找第字</title>

			<script type="text/javascript"></script>
			<link rel="stylesheet" type="text/css" href="/game-assets/index_files/m.min.css">
			<script>
			    var _hmt = _hmt || [];
				!function () {
					var e = document.createElement("script");
					e.src = '';
					var t = document.getElementsByTagName("script")[0];
					t.parentNode.insertBefore(e, t)
				}
				();
			</script>
		</head>
<body>

<script type="text/javascript">

</script>


<script>
    window.shareData = {
        "imgUrl": "http://resource5.duopao.com/duopao/games1/icon/mei2.png", //图标
        "timeLineLink": "http://uc.duopao.com/uc/wxlogin?url=http://www.duopao.com/games/play/g20140806172647919491",//地址
        "tTitle": "大家都来找第字",
        "tContent": "从这些笫字中找到第字！"
    };

    function showmore(){//更多游戏
        window.location.href="http://www.duopao.com/games/more";
    }

    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {

        WeixinJSBridge.on('menu:share:appmessage', function(argv) {
            WeixinJSBridge.invoke('sendAppMessage', {
                "img_url": window.shareData.imgUrl,
                "link": window.shareData.timeLineLink,
                "desc": window.shareData.tContent,
                "title": window.shareData.tTitle
            }, function(res) {
			   //dp_share();
            })
        });

        WeixinJSBridge.on('menu:share:timeline', function(argv) {
            WeixinJSBridge.invoke('shareTimeline', {
                "img_url": window.shareData.imgUrl,
                "img_width": "640",
                "img_height": "640",
                "link": window.shareData.timeLineLink,
                "desc": window.shareData.tContent,
                "title": window.shareData.tTitle
            }, function(res) {
                //dp_share();
            });
        });


        WeixinJSBridge.on('menu:share:weibo', function(argv) {
            WeixinJSBridge.invoke('shareWeibo', {
                "content": window.shareData.tContent,
                "url": window.shareData.timeLineLink
            }, function(res) {
                //dp_share();
            });
        });

        }, false)

</script>

<input type="hidden" id="num" value="#(num??)" />
<input type="hidden" id="pri" value="#(pri??)" />
</body></html>


<script id="tpl" type="text/html">



<div class="grid">
        <div class="page hide" id="loading">

            <div class="loading-txt"><%=loading%></div>
        </div>
        <div class="page hide" id="index">
        	<a href='/wxcs?shuju=1' class="skip_btn">
        		<%= skip_btn%>
        	</a>
        	<div class="home-top">
        		<%= home_top%>
        	</div>
        	<div class="home-content">
        		<%=home_content%>
        	</div>
            <!--<h1><%=title%></h1>-->

            <!--<div id="help"><%=help_txt%></div>-->
            <div class="btns">
                <button data-type="color" class="btn play-btn">
                    <%=btn_start%>
                </button>

				</a>
            </div>
        </div>
        <div class="page hide" id="room">
            <header>
                <span class="lv">
                    <%=score%>
                    <em>
                        1
                    </em>
                </span>
                <span class="time">
                </span>
                <span class="btn btn-pause">
                    <%=btn_pause%>
                </span>
            </header>
            <div id="box" class="lv1">
            </div>
        </div>
        <div class="page hide" id="dialog">
		<div id="share-wx" style="">
			<p style="text-align: right; padding-left: 10px;">
				<!--<img src="./index_files/161516_5197.png" id="share-wx-img" style="max-width: 280px; padding-right: 25px;">-->
			</p>
		</div>
        <div class="inner">
                <div class="content gameover">
                    <div class="inner-content">
                    	<a href='/wxcs' class="skip_btn">
			        		<%= skip_btn%>
			        	</a>
                        <img src="" class="alert-img">
                        <!--<h3></h3>-->
                        <div class="alert-content">
                        	<div class="less20-score">
                        		<img src="/game-assets/img/less20-score2.png">
                        		<div class="btn-wrap">
		                            <button class="btn btn-restart">
		                                <%=btn_reTry%>
		                            </button>

									</a>
		                        </div>
                        	</div>
                        	<div class="than20-score">
                        		<p>棒棒的！！！</p>
                        		<p>恭喜你额外获得一次掷骰子机会</p>
                        		<img src="/game-assets/img/than20-score2.png">
                        		<p>来吧</p>
                        		<p>请开始你的掷骰子表演</p>
                        		<div class="btn-wrap">
		                            <button class="btn btn-restart">
		                                <%=btn_reTry%>
		                            </button>

									</a>
		                        </div>
                        	</div>
                        	<div class="than60-score">
                        		<p>手快、眼神好</p>
                        		<p>这么好的能力</p>
                        		<p>果然能轻松闯关成功！</p>
                        		<p>恭喜你成功获得价值<span class="yuan"></span>元的<i></i>奖品一</p>
                        		<p>份+2次掷骰子机会</p>
                        		<div class="code">
                        			<p>中奖编码：<span class="bian"></span></p>
                        		</div>
                        		<p>兑奖方式可在"我的奖品"中查看</p>
                        		<p>请幸运的你，在规定时间到指定地点，</p>
                        		<p>领取你的专属奖品！</p>
                        		<img src="/game-assets/img/than60-score2.png">
                    			<div class="btn-wrap">
		                        	<a href="/wxcs/myPrize" class="prize_btn">
						        		<%= btn_prize%>
						        	</a>
		                            <button class="btn btn-restart">
		                                <%=btn_reTry%>
		                            </button>

									</a>
		                        </div>
                        	</div>
                        </div>
                    </div>
                </div>
                <div class="content pause">
                    <div class="inner-content">
                        <div class="pause-img">
                        	<img src="/game-assets/img/pause-img.png">
                        </div>
                        <!--<h3>
                            <%=game_pause%>
                        </h3>-->
                        <a href="" class="pause-start">
                        	<%= btn_start %>
                        </a>
                        <div class="btn-wrap pause-btns">
                        	<a href="">
                        		<img src="/game-assets/img/home-img.png">
                        	</a>
                            <button class="btn btn-resume">
                                <%=btn_resume%>
                            </button>
							<a>
								<img src="/game-assets/img/voice-img.png">
							</a>
							<div class="clearfix"></div>
							</a>
                        </div>

                    </div>
                </div>
            </div>
    </ins>
        </div>
    </div>

</script>
<script src="/game-assets/js/libs.min.js"></script>
<script src="/game-assets/js/main.min3.js"></script>
